package com.woniuxy.carlife.carlifeplatformweb.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: ManagerPermission
 *@Description: 权限菜单表
 * @author: huangxinyan     
 * @date: 2021-04-05
 */

@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("t_manager_permission")
@ApiModel(value="ManagerPermission对象", description="权限菜单表")
public class ManagerPermission implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty(value = "权限id")
        @TableId(value = "manager_permission_id", type = IdType.AUTO)
      private Integer managerPermissionId;

      @ApiModelProperty(value = "权限名称")
      private String managerPermissionElement;

      @ApiModelProperty(value = "权限级别")
      private Integer managerPermissionLevel;

      @ApiModelProperty(value = "url")
      private String managerPermissionUrl;

      @ApiModelProperty(value = "上级权限id")
      private Integer managerPermissionHigher;

      @ApiModelProperty(value = "排序")
      private Integer managerPermissionOrder;

      @ApiModelProperty(value = "创建时间")
        @TableField(fill = FieldFill.INSERT)
      private Date gmtCreate;

      @ApiModelProperty(value = "修改时间")
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date gmtModified;


}
